package com.org.api.admin.entity.po;

import lombok.Data;

import java.util.List;

/**
 * @Author liuyuchen
 * @Date 2022/2/26 10:17
 * @Version 1.0
 */

/**
 * 首页专场配置表
 */
@Data
public class CmsUserSpecialPerformanceVO extends CmsUserBaseResultVO<CmsUserMobileSpecialPerformanceDetailVO> {

	private Long specialPerformanceConfigId;

	private Long moduleConfigId;

	private String title;

	private String backgroundUrl;

	private Integer oneLinkType;

	private String oneLinkUrl;

	private Integer twoLinkType;

	private String twoLinkUrl;

	private Integer threeLinkType;

	private String threeLinkUrl;

	private Integer fourLinkType;

	private String fourLinkUrl;


	public static CmsUserSpecialPerformanceVO getData(String title, String backgroundUrl, Integer oneLinkType, String oneLinkUrl, Integer twoLinkType, String twoLinkUrl, Integer threeLinkType, String threeLinkUrl, Integer fourLinkType, String fourLinkUrl, String moduleType) {
		CmsUserSpecialPerformanceVO cmsMobileSpecialPerformance = new CmsUserSpecialPerformanceVO();
		cmsMobileSpecialPerformance.setTitle(title);
		cmsMobileSpecialPerformance.setBackgroundUrl(backgroundUrl);
		cmsMobileSpecialPerformance.setOneLinkType(oneLinkType);
		cmsMobileSpecialPerformance.setOneLinkUrl(oneLinkUrl);
		cmsMobileSpecialPerformance.setTwoLinkType(twoLinkType);
		cmsMobileSpecialPerformance.setTwoLinkUrl(twoLinkUrl);
		cmsMobileSpecialPerformance.setThreeLinkType(threeLinkType);
		cmsMobileSpecialPerformance.setThreeLinkUrl(threeLinkUrl);
		cmsMobileSpecialPerformance.setFourLinkType(fourLinkType);
		cmsMobileSpecialPerformance.setFourLinkUrl(fourLinkUrl);
		cmsMobileSpecialPerformance.setModuleType(moduleType);
		return cmsMobileSpecialPerformance;
	}

}